renderborder: Only get border width if we really need to
authorTimm Bäder <mail@baedert.org>
Fri, 20 Dec 2019 19:56:28 +0000 (20:56 +0100)
committerTimm Bäder <mail@baedert.org>
Tue, 7 Jan 2020 16:27:17 +0000 (17:27 +0100)
commit4fb519f04d1f479cc3c2ab0f967acaf6ddf2ade7
tree557fa227517c32993502f50d842ac08eed78d730
parent054d69aaf905fcc5006189836322098cd9cc0f0e
renderborder: Only get border width if we really need to

We did this unconditionally before the if statement, but we don't need
to do it if any of the early-out checks in the not-border-image branch
hits.
gtk/gtkrenderborder.c